export const BASE_URL = { // 不同环境请求地址
  // 'develop': 'https://open.ahapocket.cn',
  // 'trial': 'https://open.ahapocket.cn',
  'develop': 'https://ahapocket.cn',
  'trial': 'https://ahapocket.cn',
  'release': 'https://ahapocket.cn',
}
export const LOGIN_TYPES = ['wx', 'phone'] // 登录方式
// export const LOGO = 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/LOGO/logo.png' // logo图
export const LOGO = 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/static_file/%E5%9B%BE%E6%A0%87/logo.png' // logo图

export const PRIZE_LEVELS = [// 获奖等级
  { label: '保研国一', value: 53, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/43.png' },
  { label: '保研国二', value: 52, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/42.png' },
  { label: '保研国三', value: 51, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/41.png' },
  { label: '国一', value: 43, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/43.png' },
  { label: '国二', value: 42, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/42.png' },
  { label: '国三', value: 41, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/41.png' },
  { label: '省一', value: 33, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/33.png' },
  { label: '省二', value: 32, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/32.png' },
  { label: '省三', value: 31, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/31.png' },
  { label: '市一', value: 23, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/23.png' },
  { label: '市二', value: 22, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/22.png' },
  { label: '市三', value: 21, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/21.png' },
  { label: '校一', value: 13, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/13.png' },
  { label: '校二', value: 12, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/12.png' },
  { label: '校三', value: 11, src: 'https://aha-public-1301319986.cos.ap-shanghai.myqcloud.com/system_static/media/11.png' },
]
export const COMP_TYPES = [ // 比赛类型
  { label: '经济类', value: 1 },
  { label: '管理类', value: 2 },
  { label: '法学类', value: 3 },
  { label: '公管类', value: 4 },
  { label: '语言类', value: 5 },
  { label: '艺术传媒类', value: 6 },
  { label: '学科类', value: 7 },
  { label: '计算机类', value: 8 },
  { label: '机械类', value: 9 },
  { label: '建筑类', value: 10 },
  { label: '化工类', value: 11 },
  { label: '科研创业类', value: 12 },
]

export const FILE_CLASSIFIES = [ // 附件分类
  { label: 'PPT', value: 1, rate: 1 },
  { label: '文档', value: 2, rate: 3 },
  { label: '论文', value: 3, rate: 1 },
  { label: '成果展示', value: 4, rate: 1 },
  { label: '竞赛心得', value: 5, rate: 0.5 },
  { label: '课程设计', value: 6, rate: 1 }
]
export const FILE_TYPES = [ // 附件类型
  { label: '图片', value: 0, reg: /\.(jpg|bmp|gif|ico|pcx|jpeg|tif|png|raw|tga)$/i }, // 图片
  { label: '视频/音频', value: 1, reg: /\.(avi|wmv|mpg|mpeg|mov|rm|ram|swf|raw|flv|mp4|mp3|wma|avi|rmvb|mkv)$/i }, // 视频,音频
  { label: '文档/PPT', value: 2, reg: /\.(txt|doc|docx|ppt|pptx|csv|xls|xlsx|pdf)$/i }, // 文档
  { label: '其他', value: 3, reg: /./ }, // 其他
]
export const FEEDBACK_TYPES = [ // 反馈类型
  { label: '平台BUG', value: 0 },
  { label: '平台体验修改建议', value: 1 },
  { label: '劣质项目', value: 2 },
  { label: '订单缺失/购买错误', value: 3 },
]
export const ORDER_TYPES = [ // 订单类型
  { label: 'Aha币充值', type: 1, order: null },
  { label: '活动赠送', type: 2, order: null },
  { label: '注册赠送', type: 3, order: null },
  { label: '签到奖励', type: 4, order: null },
  { label: '附件购买', type: 5, order: null },
  { label: '项目购买返利', type: 6, order: null },
  { label: '邀请好友', type: 7, order: null },
  { label: '项目上传奖励', type: 8, order: null },
  { label: 'Aha币提现', type: 9, order: null }
]
export const USER_LEVEL = [ // 用户等级类型
  { label: 'Aha游客', ahaPoint: 0 },
  { label: 'Aha萌新', ahaPoint: 16 },
  { label: 'Aha入门', ahaPoint: 64 },
  { label: 'Aha进阶', ahaPoint: 256 },
  { label: 'Aha精英', ahaPoint: 1024 },
  { label: 'Aha大佬', ahaPoint: 4096 },
  { label: 'Aha天花板', ahaPoint: 8192 },
]

export const USER_RELATION = { // 用户关系
  0: {
    label: '无关系',
    value: 'noRelation'
  },
  1: {
    label: '自己',
    value: 'self'
  },
  2: {
    label: '已关注',
    value: 'attention'
  },
  3: {
    label: '粉丝',
    value: 'fan'
  },
  4: {
    label: '互关',
    value: 'friend'
  },
}

export const ORDER_STATUS = { // 订单关系
  0: {
    label: '未付款',
    value: 'unPay'
  },
  1: {
    label: '已付款',
    value: 'paid'
  },
  2: {
    label: '已取消',
    value: 'cancel'
  },
  3: {
    label: '已退款',
    value: 'refund'
  }
}

/**
 * 课设最小id
 */
export const COURSE_MIN_ID = 50000000
